package com.taxshare.seller.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.seller.constant.table.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName: SellerDetialMergeEntity
 * @Description:
 * @author: Hai
 * @date: 2021/7/12 9:46
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_SELLER_DETIAL_MERGE)
@ApiModel(description = "地产明细合并")
public class SellerDetialMergeEntity extends BaseEntity implements Serializable {

    @TableId("uuid")
    @ApiModelProperty("主键")
    private String uuid;

    @ApiModelProperty("项目编码")
    @TableField("project_code_max")
    private String projectCodeMax;

    @ApiModelProperty("是否以税率合并开票明细 1-合并 0-不合并")
    @TableField("is_merge_detial_tax_rate")
    private String isMergeDetialTaxRate;

    @ApiModelProperty("是否以款项名称合并开票明细 1-合并 0-不合并")
    @TableField("is_merge_detial_goods_name")
    private String isMergeDetialGoodsName;

    @ApiModelProperty("创建时间")
    @TableField("create_time_str")
    private String createTimeStr;

    @ApiModelProperty("修改时间")
    @TableField("update_time_str")
    private String updateTimeStr;

    @ApiModelProperty("创建用户名字")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty("项目名称")
    @TableField("project_max")
    private String projectMax;

    @ApiModelProperty("是否合并款项类别款项名称 1-合并 0-不合并")
    @TableField("is_merge_category_name")
    private String isMergeCategoryName;
}
